package com.example.shop_2208.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 搜索历史记录实体类
 */
@Entity(tableName = "search_history")
data class SearchEntity (

@PrimaryKey
    val name:String,//搜索的关键词 //主键
    val time:Long//搜索的时间
        )